name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env INSTALL_TAPI: **** env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-lNQa/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 1062597008 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7656 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................................... [100%] 51 passed in 683.42s (0:11:23) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 335.90s (0:05:35) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .................F.............F....................................... [100%] =================================== FAILURES =================================== __ TestTransportPCEDeviceChangeNotifications.test_18_check_update_tapi_links ___ self = def test_18_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) self.assertEqual(response['status_code'], requests.codes.ok) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: if all(x in link['name'][0]['value'] for x in ['XPDR-C1-XPDR1', 'XPDR1-NETWORK1']): self.assertEqual(link['operational-state'], 'DISABLED') self.assertEqual(link['administrative-state'], 'LOCKED') nb_updated_link += 1 else: self.assertEqual(link['operational-state'], 'ENABLED') self.assertEqual(link['administrative-state'], 'UNLOCKED') > self.assertEqual(nb_updated_link, 1, "Only one xponder-output/input bidirectional link should have been modified") E AssertionError: 2 != 1 : Only one xponder-output/input bidirectional link should have been modified transportpce_tests/tapi/test03_tapi_device_change_notifications.py:423: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_update_tapi_links __ TestTransportPCEDeviceChangeNotifications.test_32_check_update_tapi_links ___ self = def test_32_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: if all(x in link['name'][0]['value'] for x in ['ROADM-A1', 'SRG1-PP1-TXRX']): self.assertEqual(link['operational-state'], 'DISABLED') self.assertEqual(link['administrative-state'], 'LOCKED') nb_updated_link += 1 else: self.assertEqual(link['operational-state'], 'ENABLED') self.assertEqual(link['administrative-state'], 'UNLOCKED') > self.assertEqual(nb_updated_link, 1, "Only one xponder-output/input link should have been modified") E AssertionError: 2 != 1 : Only one xponder-output/input link should have been modified transportpce_tests/tapi/test03_tapi_device_change_notifications.py:624: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_32_check_update_tapi_links =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_tapi_links FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_tapi_links 2 failed, 69 passed in 319.13s (0:05:19)